package ManageBean;


import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Tulip
 */
public class SecurityUrl {
    private String pattern;
    private boolean authorized;
    private List<String> roles;
    private String loginUrl;

    public SecurityUrl() {
        roles = new ArrayList<String>();
    }   

    public boolean isAuthorized() {
        return authorized;
    }

    public void setAuthorized(boolean authorized) {
        this.authorized = authorized;
    }

    public String getLoginUrl() {
        return loginUrl;
    }

    public void setLoginUrl(String loginUrl) {
        this.loginUrl = loginUrl;
    }

    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }   
}
